GUI Help > Special > addItem

addItem
addItem handle gadget, str item

Description:
Adds a new item to a combobox or listbox

Return Value:


Parameters:
gadget Handle to a listbox or combobox gadget
item Text of new item
Remarks:
Unlike BlueGUI version 1, under version 2 only comboboxes and listboxes can use this command. Popup menus should use addMenuItem, listviews should use addListViewItem.

See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)